<?php
namespace app\admin\controller;

use \think\Controller;
use \think\facade\Session;

class Base extends  Controller
{
	public function initialize()
	{
		
	
		if(!Session::has('managerinfo'))
		{
			$this->error('当前用户没有登录','admin/index/index');

			exit;
		}
	}


}
